/**
 * @author Fang Lu, fanglupku@gmail.com
 * 2011-6-3
 */
package com.autotag.train;

import java.util.Comparator;
import java.util.Random;

public class WebServiceAbstractRandomComparator implements Comparator<WebServiceAbstract>{

	/**
	 * Random compare
	 */
	public int compare(WebServiceAbstract o1, WebServiceAbstract o2) {
		Random random = new Random(System.currentTimeMillis());
		int result = random.nextInt()%3 - 1;
		return result;
	}

}
